package com.example.aigc_education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.aigc_education.domain.request.UdTodoCompletedRequest;
import com.example.aigc_education.domain.TodoV2;
import com.example.aigc_education.domain.request.AddTodoRequest;
import com.example.aigc_education.domain.request.UpdateTodoRequest;
import com.example.aigc_education.domain.vo.*;

import java.util.List;
import java.util.Map;

/**
* @author hongy
* @description 针对表【stu_todo_v2】的数据库操作Service
* @createDate 2025-02-24 18:03:58
*/
public interface TodoV2Service extends IService<TodoV2> {

    IdVO addTodo(Long userId, AddTodoRequest addTodoRequest);

    Boolean deleteTodos(Long[] ids);

    Map<String, List<TodoVO>> getTodayTodos(Long userId);

    GetAllTodosVO getAllTodos(Long userId);

    UpdateTodoVO updateTodo(UpdateTodoRequest updateTodoRequest);

    UdTodoCompletedVO updateTodoCompleted(UdTodoCompletedRequest udTodoCompletedRq);
}
